This article mainly and everybody introduced the PHP opcode cache simple usage, combined with the example form analysis opcode's concept, the principle, the simple opening and the use method, needs the friend may refer, hoped can help to everybody.
1. What is opcodeAfter the interpreter parses the code, generates an intermediate code that can be run directly, called the opcode, opcode2. The difference between interpreter and compilerThe interpreter runs the intermediate code directly after the
PHP is well known as an interpreted language, and its execution can be divided into the following processes:
Scanning (lexing), converting the PHP code to a language fragment (Tokens)
parsing, converting tokens into simple and meaningful
Introduction of APC
The alternative PHP cache (APC) is a free and open opcode cache for PHP. Its goal are to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.
APC Official website:
Introduction of APC
The alternative PHP cache (APC) is a free and open opcode cache for PHP. Its goal are to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.
APC Official website: http://www.php.net/manual/
ObjectiveThe performance of the PHP language is not significant in terms of performance compared to other compiled languages, but performance gains after using the opcode cache are obvious. Common main EACCELERATOR,XCACHE,APC This article mainly
Preface
Compared with other compiled languages, the performance of PHP is not outstanding, but the performance improvement is obvious after the opcode cache is used. common examples include eaccelerator, xcache, and APC. This document mainly
PHP is not a significant performance relative to other compiled languages, but performance improvement after using the opcode cache is obvious. Common cache acceleration components are mainly EACCELERATOR,XCACHE,APC this article mainly introduces
Introduction to APC
The alternative PHP cache (APC) is a free and open opcode Cache for PHP. Its goal are to provide a free, open, and robust frameworks for caching and optimizing PHP intermediate code.
APC Official website:
APC Introduction The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.APC Official Website:
APC Introduction
The alternative PHP cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.
APC Official Website:
What is opcode
Perhaps you have tried to write dynamic content with C/s, although the development process is extremely cumbersome, but in order to achieve performance improvement, it may be worthwhile, they can compile dynamic content into binary
Brief introduction
Major web properties, such as Wikipedia, Facebook, and Yahoo!, use the LAMP architecture to service millions of of requests a day, while Web application software such as Wordpress, Joomla, Drupal, and SugarCRM uses its
Brief introduction
Major web properties, such as Wikipedia, Facebook, and Yahoo!, use the LAMP architecture to service millions of of requests a day, while Web application software such as Wordpress, Joomla, Drupal, and SugarCRM uses its
What's the difference between APC and ZendopcacheHttp://www.laruence.com/2013/03/18/2846.htmlClick ( here ) to collapse or open
In the past, many people would have chosen to use APC, In addition to the opcode cache, APC provides a set of
Almost every PHP programmer has published code that may have been synced via FTP or rsync , or it may have been updated with svn or git . An active project may have to be published several times a day, but the reality is that few people notice the
Use ZendOpcache to accelerate PHP and zendopcache. Using ZendOpcache to accelerate PHP, zendopcacheOptimizer + is a closed source developed by Zend but can be used free of charge to optimize and accelerate PHP components. it is the first and fastest
Optimizer + is a closed-source php optimization acceleration component developed by Zend but available for free. it is the first and fastest opcode cache tool. Optimizer + is a closed-source php optimization acceleration component developed by Zend
What is a opcode cache?When the interpreter finishes parsing the script code, it generates intermediate code that can be run directly, also known as the opcode (Operate code,opcode). The goal of the Opcode cache is to avoid duplication of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.